package com.kly.enums;

/**
 * 回调码
 * @author linqu
 */
public enum CallBackResultEnum {

    /**
     *
     */
    SUCCESS("0", "成功"),
    FAIL("-1", "失败");

    private String code;

    private String name;

    CallBackResultEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public CallBackResultEnum setCode(String code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public CallBackResultEnum setName(String name) {
        this.name = name;
        return this;
    }
}
